<template>
	<div class="use">
		<fx-table-search
			:card-wrap="false"
			:form-item="formItem"
			:on-submit="onSubmit"
			:on-reset="onSubmit"
		/>
	</div>
</template>

<script>
	import { fxTableSearch } from '@/components'
	import { formItem } from './config'
	export default {
		components: {
			fxTableSearch
		},
		data() {
			return {
				radioValue: '',
				formItem: formItem(this.radioChange) // 需要在data中定义
			}
		},
		methods: {
			radioChange(e) {
				console.log(e)
			},
			onSubmit(values) {
				// console.log(this.$utils)
				console.log(values)
			}
		}
	}
</script>

<style lang="scss" scoped>
	@import './index.scss';
</style>
